define (require, exports, module) ->
  # 基础服务
  base_api = require 'mods/api/base_api'
  # 定义组件
  module.exports =

    # 查询公告列表
    getNoticeDetail: (params) ->
      url = "/notice_find_one?res_id=181"
      return base_api.postRequestByParams url, params

    # 查询法律文件
    getLawDetail: (params) ->
      url = "/law_find_one?res_id=138"
      return base_api.postRequestByParams url, params